#ifndef __LEVEL_CONF_H__
#define __LEVEL_CONF_H__
#include "cocos2d.h"
#include <vector>
#include "UnitConf.h"
#include "PeriodConf.h"
#include "BaseConf.h"
#include <string>

using namespace std;

namespace gofgame {
	namespace dungeonkeeper {
		namespace configuration {
			class LevelConf {
			public:
				LevelConf();
				const char *getCode()const;
				void setCode(const char *code);
				const char *getName()const;
				void setName(const char *name);
				const char *getBackgroundImage() const;
				void setBackgroundImage(const char *bg);
				const char *getBackgroundSound()const;
				void setBackgroundSound(const char *bgs);
				const char *getDesc()const;
				void setDesc(const char *desc);

				string name;
				string backgroundImage;
				string backgroundSound;
				string desc;
				string code;
				std::vector<UnitConf*> unitConfs;
				std::vector<PeriodConf*> periodConfs;
				BaseConf *baseConf;
				vector<CreateUnitConf*> defalutCreateUnitConf; 
				bool hasDefalutCUC;
			};
		}
	}
}

#endif //__LEVEL_CONF_H__
